WP_Defender\Component\Audit A

Total Complexity 55
Dependencies 18
Dependents 1
Total lines 348
Lines of code 238
Logical lines of code 135
Comment lines 58
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
fetch()
A
45 9 45
socket_to_api()
A
45 9 37
log_audit_events()
A
54 10 20
enqueue_event_listener()
A
48 9 31
flush()
S
55 5 21
query_from_api()
S
50 3 29
audit_clean_up_logs()
S
58 3 15
open_socket()
S
59 3 15
curl_to_api()
S
60 1 15
get_endpoint()
S
74 2 5
strip_protocol()
S
71 1 5